package game.buildings;

/**
 *	@(#)City.java
 *
 *	The <code>City</code> class represents the city building.
 *	A city extends the player's zone of control and provides
 *	a new citymap.
 *
 *	@author Grzegorz Kobiela
 *	@version 1.0 2007/9/11
 */
public class City
extends LandBuilding
implements game.Colored
{
	/** The color. */
	protected game.PlayerColor color;

	/**
	 *	Creates a new <code>City</code> instance with the given color.
	 *	@param color the color
	 */
	public City(game.PlayerColor color) {
		super(BuildingType.CITY);
		this.color = color;
	}

	/**
	 *	Returns the color.
	 *	@return the color
	 */
	public game.PlayerColor getColor() {
		return color;
	}
}